//
//  ViewController.m
//  xib
//
//  Created by 苗钧豪 on 16/7/28.
//  Copyright © 2016年 苗钧豪. All rights reserved.
//

#import "ViewController.h"
#import "twoViewController.h"

@interface ViewController ()

@end

@implementation ViewController
- (void)viewWillAppear:(BOOL)animated {
    self.navigationController.navigationBar.hidden = YES;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)loginAction:(id)sender {
    NSLog(@"你还真以为能登录上啊");
}
- (IBAction)registAction:(id)sender {
    NSLog(@"注册也没用哈哈哈哈");
}
- (IBAction)foundPassWord:(id)sender {
    NSLog(@"想去就去吧，反正去了也没用");
    twoViewController *tvc = [[twoViewController alloc]init];
    [self.navigationController pushViewController:tvc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
